package com.yanqu.road.entity.autodata.hotpotjump.config;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.autodata.AutoActivityConfigObject;
import com.yanqu.road.utils.string.StringUtils;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_activity_hotpotjump_pot")
public class HotpotJumpPotConfig extends AutoActivityConfigObject {
    @FieldTypeAnnotation(select = true, orderASC = true, isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "id", isIndex = true)
    private int id;
    @FieldTypeAnnotation(desc = "")
    private String name;
    @FieldTypeAnnotation(desc = "")
    private String talkOne;
    @FieldTypeAnnotation(desc = "")
    private String talkTwo;

//    public HotpotJumpPotConfig(ResultSet rs) throws SQLException {
//        this.activityId = rs.getInt("activityId");
//        this.id = rs.getInt("id");
//        this.name = rs.getString("name");
//        this.talkOne = rs.getString("talkOne");
//        this.talkTwo = rs.getString("talkTwo");
//    }

    public int getActivityId() {
        return activityId;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getTalkOne() {
        return talkOne;
    }

    public String getTalkTwo() {
        return talkTwo;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTalkOne(String talkOne) {
        this.talkOne = talkOne;
    }

    public void setTalkTwo(String talkTwo) {
        this.talkTwo = talkTwo;
    }
}